<template>
  <el-container style="height: 100%">
    <el-aside width="auto"><CommonAside /></el-aside>
    <el-container>
      <el-header><CommonHeader /></el-header>
      <CommonTab />
      <el-main style="height: 100%">
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import CommonHeader from '@/components/commonHeader'
import CommonAside from '@/components/commonAside'
import CommonTab from '@/components/commonTab'
export default {
  name: 'Main',
  components: {
    CommonHeader,
    CommonAside,
    CommonTab
  }
}
</script>

<style lang="scss" scoped>
.el-header {
  background-color: #333333;
}
.el-main {
  padding-top: 0;
}
</style>
